package cn.minhx.domain.trade.moedel.aggregate;

import cn.minhx.domain.trade.moedel.entity.PayActivityEntity;
import cn.minhx.domain.trade.moedel.entity.PayDiscountEntity;
import cn.minhx.domain.trade.moedel.entity.UserEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 拼团订单聚合对象
 *
 * @author min
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class GroupBuyOrderAggregate {

	/** 用户实体对象 */
	private UserEntity userEntity;

	/** 支付活动实体对象 */
	private PayActivityEntity payActivityEntity;

	/** 支付优惠实体对象 */
	private PayDiscountEntity payDiscountEntity;

	/** 已参与拼团量 */
	private Integer userTakeOrderCount;
}
